#ifndef  TRADESTUB_EVENT_H_INC
#define  TRADESTUB_EVENT_H_INC

#include "disruptor/interface.h"
#include "lch.h"


class TradeStubEvent
{
public:
	TradeStubEvent(){}

	const TradeStub& GetValue()
	{
		return _TradeStub;
	}
	void SetValue(int trade_id, int order_id, FTDPrice price, int vol)
	{

	}
private:
	TradeStub _TradeStub;
};

class TradeStubEventFactory : public disruptor::EventFactoryInterface<TradeStubEvent>{
public:
	virtual TradeStubEvent* NewInstance(const int& size) const {
		return new TradeStubEvent[size];
	}
};


#endif